package com.zhuss.vent.db.dao.ext;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.zhuss.bean.bo.SearchKeyWordBo;
import com.zhuss.bean.bo.vent.vent.SearchVentBo;
import com.zhuss.bean.bo.vent.vent.wechat.ListVentBo;
import com.zhuss.bean.vo.DetailKeyWordVo;
import com.zhuss.bean.vo.vent.vent.DetailVentVo;
import com.zhuss.bean.vo.vent.vent.ListVentVo;
import com.zhuss.vent.db.dao.gen.VentMapper;
import com.zhuss.vent.db.entity.Vent;

@Mapper
public interface VentDao extends VentMapper {
	
	void create(Vent record);
	
	void delete(Vent record);
	
	List<Vent> listAll(@Param("area") Integer area);

	List<ListVentVo> list(SearchVentBo bo);

	Integer countList(SearchVentBo bo);

	DetailVentVo detail(@Param("ventId") Long ventId);

	List<DetailVentVo> listVent(ListVentBo bo);
	
	Integer countVentList(ListVentBo bo);
	
	List<DetailKeyWordVo> keyWord(SearchKeyWordBo bo);
	
	Integer countKeyWord(SearchKeyWordBo bo);
    
}